package com.ruoyi.project.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.product.domain.InsReagentFormDetail;
import com.ruoyi.project.product.mapper.InsReagentFormDetailMapper;
import com.ruoyi.project.product.service.IInsReagentFormDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 试剂表单详细Service业务层处理
 *
 * @author taney
 * @date 2020-11-17
 */
@Service
public class InsReagentFormDetailServiceImpl extends ServiceImpl<InsReagentFormDetailMapper, InsReagentFormDetail> implements IInsReagentFormDetailService {
    @Resource
    InsReagentFormDetailMapper insReagentFormDetailMapper;

    @Override
    public boolean removeByReagentFormId(Integer reagentFormId) {
        return insReagentFormDetailMapper.removeByReagentFormId(reagentFormId) > 0;
    }
}
